<template>
    <page-body>
        <view class="page">
            <view class="flex benben-position-layout flex flex-wrap align-center feedBackDetail_flex_0_ibhf" :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx', }">
                <view class='flex flex-wrap align-center justify-between flex-sub feedBackDetail_fd0_0_ibhf'>
                    <view class='flex flex-wrap align-center feedBackDetail_fd0_0_c0_ibhf' @tap.stop="handleJumpDiy" data-type="back" data-url="1">
                        <text class='fu-iconfont2  feedBackDetail_fd0_0_c0_c0_ibhf'>&#xE794;</text>
                    </view>
                    <view class='flex flex-wrap align-stretch justify-center'>
                        <text class='feedBackDetail_fd0_0_c1_c0_ibhf'>历史反馈</text>
                    </view>
                    <view class='flex flex-wrap align-center justify-end feedBackDetail_fd0_0_c0_ibhf'>
                    </view>
                </view>

            </view>
            <view :style="{height: (88+StatusBarRpx)+'rpx'}"></view>
            <!---反馈记录带联系人flex布局开始-->
            <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout feedBackDetail_flex_1_ibhf">
                <template v-for='(item,key0) in dataMessage'>
                    <view class='flex flex-wrap align-start feedBackDetail_fd1_0_ibhf' :key='key0'>
                        <image class='feedBackDetail_fd1_0_c0_ibhf' mode="aspectFit" :src='item.avatar?item.avatar:STATIC_URL+"LOGO.png"' @tap.stop="singleImagePreview(dataDetails.avatar)"></image>
                        <view class='flex flex-direction flex-wrap align-stretch flex-sub feedBackDetail_fd1_0_c1_ibhf'>
                            <view class='flex flex-direction flex-wrap align-stretch feedBackDetail_fd1_0_c1_c0_ibhf'>
                                <view class='flex-sub feedBackDetail_fd1_0_c1_c0_c0_ibhf'>
                                    <text class='feedBackDetail_fd1_0_c1_c0_c0_c0_ibhf'>{{item.body}}</text>
                                </view>
                            </view>
                            <view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c1_ibhf'>
                                <template v-for='(child,key1) in item.thumb'>
                                    <view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c1_c0_ibhf' :key='key1'>
                                        <image class='feedBackDetail_fd1_0_c1_c1_c0_c0_ibhf' mode="aspectFill" :src='child' @tap.stop="multiImagePreview(child,item.thumb,'')"></image>
                                    </view>
                                </template>

                            </view>
                            <view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c2_ibhf'>
                                <text class='feedBackDetail_fd1_0_c1_c2_c0_ibhf'>反馈类型：</text>
                                <text class='feedBackDetail_fd1_0_c1_c2_c0_ibhf'>{{item.type_title}}</text>
                            </view>
                            <view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c3_ibhf'>
                                <text class='feedBackDetail_fd1_0_c1_c2_c0_ibhf'>反馈时间：</text>
                                <text class='feedBackDetail_fd1_0_c1_c2_c0_ibhf'>{{item.create_time}}</text>
                            </view>
                            <view class='flex flex-wrap align-center feedBackDetail_fd1_0_c1_c4_ibhf' v-if="item.is_replay=='2'">
                                <view>
                                    <text class='feedBackDetail_fd1_0_c1_c4_c0_c0_ibhf'>平台回复：</text>
                                    <text class='feedBackDetail_fd1_0_c1_c4_c0_c1_ibhf'>{{item.replay}}</text>
                                </view>
                            </view>
                        </view>
                    </view>
                </template>
                <fu-empty :pagingListLoadedAll="pagingListLoadedAll" :pagingListNoListData="pagingListNoListData" :listDataLength="listDataLength" :isLoadInit="isLoadInit"></fu-empty>
            </view>

            <!---反馈记录带联系人flex布局结束-->


        </view>
    </page-body>
</template>
<script>
    import pagingList from '@/common/mixin/paging_list.js';
    import {
        validate
    } from '@/common/utils/validate.js'

    export default {
        components: {},
        mixins: [pagingList],

        data() {
            return {
                "minixPagingListsApi": "",
                "pageingListApiMethod": "",
                "allowOnloadGetList": false,
                "dataMessage": []
            };
        },
        computed: {

        },
        watch: {},
        onLoad(options) {
            this.getListFunc()
        },
        onUnload() {

        },
        onReady() {

        },
        onShow() {

        },
        onHide() {

        },
        onResize() {

        },
        onPullDownRefresh() {

        },
        onReachBottom(e) {

        },
        onPageScroll(e) {

        },
        methods: {
            //用户管理-意见反馈记录
            getListFunc() {
                this.minixPagingListsApi = global.apiUrls.post641472eb35317;
                this.pageingListApiMethod = 'get';
                this.allowOnloadGetList = false;
                this.pagingListPostDataContent = {
                    user_type: '1'
                }
                this.listData = [];
                this.dataMessage = this.listData;
                this.pagingListToggle();

            },
            pagingListPostData() {
                return this.pagingListPostDataContent
            }
        }
    };
</script>
<style lang="scss" scoped>
    .page {
        width: 100vw;
        overflow-x: hidden;
        min-height: calc(100vh - var(--window-bottom));
        // background: url(image-path('21.png')) no-repeat;
        background-size: 100% auto;

        .feedBackDetail_flex_1_ibhf {
            padding: 32rpx 24rpx 0rpx 24rpx;

            .feedBackDetail_fd1_0_ibhf {
                padding: 32rpx 12rpx 24rpx 12rpx;
                background: var(--benbenbgColor1);
                background-size: 100% auto;
                margin: 0rpx 0rpx 24rpx 0rpx;
                border-radius: 16rpx;

                .feedBackDetail_fd1_0_c0_ibhf {
                    width: 72rpx;
                    height: 72rpx;
                    border-radius: 50rpx;
                }

                .feedBackDetail_fd1_0_c1_ibhf {
                    margin: 0rpx 0rpx 0rpx 0rpx;

                    .feedBackDetail_fd1_0_c1_c0_ibhf {
                        position: relative;
                        padding: 0rpx 0rpx 0rpx 16rpx;

                        .feedBackDetail_fd1_0_c1_c0_c0_ibhf {
                            font-size: 28rpx;
                            line-height: 46rpx;

                            .feedBackDetail_fd1_0_c1_c0_c0_c0_ibhf {
                                line-height: 46rpx;
                                font-size: 28rpx;
                                font-weight: 400;
                                color: var(--benbenFontColor0);
                                padding: 0rpx 30rpx 0rpx 0rpx;
                            }
                        }
                    }

                    .feedBackDetail_fd1_0_c1_c1_ibhf {
                        padding: 12rpx 0rpx 0rpx 8rpx;

                        .feedBackDetail_fd1_0_c1_c1_c0_ibhf {
                            margin: 12rpx 6rpx 12rpx 8rpx;

                            .feedBackDetail_fd1_0_c1_c1_c0_c0_ibhf {
                                width: 180rpx;
                                height: 180rpx;
                                border-radius: 12rpx;
                            }
                        }
                    }

                    .feedBackDetail_fd1_0_c1_c2_ibhf {
                        margin: 12rpx 0rpx 16rpx 16rpx;
                    }

                    .feedBackDetail_fd1_0_c1_c3_ibhf {
                        margin: 0rpx 0rpx 0rpx 16rpx;
                    }

                    .feedBackDetail_fd1_0_c1_c4_ibhf {
                        padding: 20rpx 24rpx 19rpx 24rpx;
                        margin: 24rpx 0rpx 0rpx 12rpx;
                        border-radius: 10rpx;
                        background: #f5f5f5;
                        background-size: 100% auto !important;

                        .feedBackDetail_fd1_0_c1_c4_c0_c0_ibhf {
                            line-height: 46rpx;
                            font-size: 28rpx;
                            font-weight: 400;
                            color: var(--benbenFontColor4);
                        }

                        .feedBackDetail_fd1_0_c1_c4_c0_c1_ibhf {
                            line-height: 46rpx;
                            font-size: 28rpx;
                            font-weight: 400;
                            color: var(--benbenFontColor0);
                        }
                    }
                }
            }
        }

        .feedBackDetail_fd1_0_c1_c2_c0_ibhf {
            line-height: 46rpx;
            font-size: 24rpx;
            font-weight: 400;
            color: var(--benbenFontColor2);
        }

        .feedBackDetail_flex_0_ibhf {
            width: 750rpx;
            height: 88rpx;
            overflow: hidden;
            z-index: 10;
            top: 0rpx;
            background: #ffffff;
            background-size: 100% auto !important;

            .feedBackDetail_fd0_0_ibhf {
                padding: 0rpx 32rpx 0rpx 32rpx;

                .feedBackDetail_fd0_0_c1_c0_ibhf {
                    font-size: 36rpx;
                    font-weight: 500;
                    color: var(--benbenFontColor0);
                    line-height: 88rpx;
                }
            }
        }

        .feedBackDetail_fd0_0_c0_ibhf {
            width: 140rpx;

            .feedBackDetail_fd0_0_c0_c0_ibhf {
                font-size: 36rpx;
                color: var(--benbeniconColor1);
            }
        }
    }
</style>